package com.github.edu.security.login.controller;

import com.github.edu.client.common.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Create by IntelliJ IDEA
 * 用户：王建
 * 日期：2018-7-27
 */
@Controller
public class UserIndexController extends BaseController {

    @RequestMapping("/")
    public String toIndex(){
        return "redirect:/index";
    }

    @RequestMapping("/index")
    public String index(){

        return "index/index";
    }

}
